package com.zw.design.pattern.creational.abstractfactory;

/****
 * Java课程工厂 聚合两种产品
 */
public class JavaCourseFactory implements CourseFactory{
    @Override
    public Video getVideo() {
        return new JavaVideo() ;
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
